package apiday04.io;

import java.io.FileInputStream;
import java.io.IOException;

public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("fos.dat");

        int num = fis.read();
        System.out.println(num);

        num = fis.read();
        System.out.println(num);
        num = fis.read();
        System.out.println(num);
        fis.close();

    }
}
